<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8"> 
	<title>用户信息</title>
	<link rel="stylesheet" href="css/bootstrap.min.css">  
	<script type="text/javascript" src="js/jQuery-1.8.3.js"></script>
	<script src="js/bootstrap.min.js"></script>
</head>
<body>

<table class="table">
	<caption>基本的表格布局</caption>
   <thead>
      <tr>
         <th>名称</th>
         <th>性别</th>
         <th>生日</th>
         <th>电话</th>
         <th>类别</th>
         <th>地址</th>
        <c:forEach items="${usershow.addresses }" varStatus="ct" >
        <th>地址${ct.count}</th>
        </c:forEach>
      </tr>
   </thead>
   <tbody>
      <tr>
         <td>${usershow.userName}</td>
         <td>${usershow.sex}</td>
         <td>${usershow.birthdays }</td>
         <td>${usershow.phone}</td>
         <td>${usershow.userRoleName }</td>
         <td>${usershow.address }</td>
         <c:forEach items="${usershow.addresses }" var="c" >
        <th>${c.addressdesc }</th>
        </c:forEach>
         
      </tr>
    
   </tbody>
</table>

</body>